//
//  Watchlist_TableVC.h
//  KaChing_App
//
//  Created by Michael Hinds on 3/19/09.
//  Copyright 2009 University of Arkansas. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DataManager.h"
#import "AsyncImageView.h"

@interface Watchlist_TableVC : UITableViewController {

	/*** TableView variables ***/
	UILabel *stockTickerLabel;			// The UILabel that stores the stock ticker (this is added to the TableView)
	UILabel *currentPriceLabel;			// The UILabel that stores the stock's current price (this is added to the TableView)
	UILabel *currentPriceChangeLabel;	// The UILabel that stores the stock's price change (this is added to the TableView)
	
	/*** DataManager variables ***/
	DataManager *dataManager;		// The DataManager object used to retrieve stock information
	NSMutableArray *watchlist;		// An array of the stocks in the watchlist used to populate the table cells
}

/*** PROPERTIES ***/
@property(nonatomic, retain) UILabel *stockTickerLabel;
@property(nonatomic, retain) UILabel *currentPriceLabel;
@property(nonatomic, retain) UILabel *currentPriceChangeLabel;

@property(nonatomic, retain) DataManager *dataManager;
@property(nonatomic, retain) NSMutableArray *watchlist;

-(IBAction) refreshWatchlist;
-(NSString *) checkDisplayString:(NSString *) data;

@end
